package org.lboot.idmo.app.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "应用新建参数")
public class AuthAppCreateParams {
    @NotBlank(message = "应用标识不可为空")
    @ApiModelProperty(value = "应用标识")
    String appId;

    @NotBlank(message = "应用名称不可为空")
    @ApiModelProperty(value = "应用名称")
    String appName;

    @NotBlank(message = "图片封面不可为空")
    @ApiModelProperty(value = "图片封面")
    String appIcon;

    @ApiModelProperty(value = "应用分组")
    String appGroup;
}
